import { isPassVersion } from '@/utils/judge'
/**
 * type 组件类型
 * id 通知客户端的页面标识
 * data
 */
export const newGuideData = []
export const coverGuideData = []
export const defaultGuideData = [
  {
    data: [
      { type: 'contentItemSkin', id: 11 },
      { type: 'contentItemImg', id: 12, data: { title: this.$t('guide.support'), img: require('@/assets/introduct/local-bg.png') } },
      { type: 'contentItemZl', id: 13 },
      { type: 'contentItemRecommend', id: 14 }
    ]
  }
]
export default function getCurrGuidData (isNew, ver, appID) {
  if (appID === '110') {
    defaultGuideData[0].data.pop()
  }
  if (appID === '22' && isPassVersion('3.1.6.20')) {
    defaultGuideData[0].data[1].data.img = require('@/assets/introduct/local-bg-new.png')
  }
  // 替换新图
  return defaultGuideData[0].data
}
